libxl: create pci backend only when there are pci devices.
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Thu, 6 Oct 2011 16:26:18 +0000 (17:26 +0100)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Thu, 6 Oct 2011 16:26:18 +0000 (17:26 +0100)
commit8d7a87b20e43fa82feed36abd41abf4f02444c73
tree03f71d6ca496a24833b82df1e818a8da6f8885b4
parentd0b1373b70b5842b81dcdb74f3293d16857ff4ce
libxl: create pci backend only when there are pci devices.

Creating empty pci entries made Linux DomUs under NetBSD Dom0 wait a very long time for devices to initialize during kernel boot.

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_create.c